<template>
<el-container>
    <el-header style="padding:0">
        <headerData />
    </el-header>
    <el-main>
        <keep-alive>
            <router-view v-wechat-title='$route.meta.title' v-if="$route.meta.keep_alive"/>
        </keep-alive>
        <router-view v-wechat-title='$route.meta.title' v-if="!$route.meta.keep_alive"/>
    </el-main>
    <el-footer style="padding:0">
        <footerData/>
    </el-footer>
</el-container>
</template>
<script>
import headerData from '../src/components/headerfooter/Header.vue'
import footerData from '../src/components/headerfooter/Footer.vue'
export default {
  components: {
    headerData,
    footerData
  }
}
</script>
